﻿using System;
using System.Runtime.CompilerServices;
using System.Collections.Generic;

namespace Quicklight.Mobile.Cordova.File {

   [IgnoreNamespace]
   public class FileEntry : Entry {

      public override void GetMetadata(MetadataSuccessCallback successCallback, FileErrorCallback errorCallback) {
      }

      public override void SetMetadata(VoidCallback successCallback, VoidCallback errorCallback, Dictionary<string, string> metadata) {
      }

      [ScriptName("moveTo")]
      public void MoveTo(DirectoryEntry parent, string newName, FileEntrySuccessCallback successCallback, FileErrorCallback errorCallback) {
      }

      [ScriptName("copyTo")]
      public void CopyTo(DirectoryEntry parent, string newName, FileEntrySuccessCallback successCallback, FileErrorCallback errorCallback) {
      }

      public override string ToURL() {
         return "";
      }

      /// <todo>Confirm type of successCallback. Documention is inconsistent</todo>
      public override void Remove(VoidCallback successCallback, FileErrorCallback errorCallback) {
      }

      public override void GetParent(DirectoryEntrySuccessCallback successCallback, FileErrorCallback errorCallback) {
      }

      [ScriptName("createWriter")]
      public void CreateWriter(FileWriterSuccessCallback successCallback, FileErrorCallback errorCallback) {
      }

      [ScriptName("file")]
      public void File(FileSuccessCallback successCallback, FileErrorCallback errorCallback) {
      }
   }

}
